package com.bjpower.utils.kuaiqianutils;

public class PaymentUtil {
    public static String appendParam(String val,String param ,String value) {
        //将非空参数连接为 参数1=值1&参数2=值2
        if (val != null){
            if (param != null && value != null){
                val += param + "=" + value + "&";
            }
        }else {
            if (param != null && value != null){
                val = param + "=" + value + "&";
            }
        }
        return val;
    }
}
